/*************引入模块*****************/
const path=require('path');
const conf=require('../conf.js');
/*************定义变量*****************/
var output = conf.output;
/**************输出接口****************/
var type=process.env.NODE_ENV;
var obj={
	entry: require('./entry'),
	resolve:require('./resolve'),
	output: require('./output'),
	module: require('./module'),
	plugins:require('./plugins')
}
if(type=='dev'){
	obj['devtool']='cheap-module-eval-source-map';
}
module.exports=obj;
